package com.gu.service;

import entity.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 06-23-18:03
 */
@Component
@FeignClient("service-user-info")
public interface UcenterClient {

    @GetMapping("/edu/ucenter/getRegisterNum/{dataTime}")
    public CommonResult getRegisterNum(@PathVariable("dataTime")String dataTime);
}
